package projectEuler.net;

import junit.framework.TestCase;

public class Problem_001Test extends TestCase {
	public static void main(String args[]){
		junit.swingui.TestRunner.main(new String[]{"Test Problem 001"});
	}
	public Problem_001Test(String name){
		super(name);
	}
	public void testTen() throws Exception{
		int sum = Problem_001.sumOfDivisibleBy3or5(10);
		assertEquals(23, sum);
	}
	public void testThousand() throws Exception{
		int sum=Problem_001.sumOfDivisibleBy3or5(1000);
		assertEquals(233168, sum);
	}
}
